﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WXY.Course.DAL;
using WXY.Course.Model;

namespace WXY.Course.BLL
{
    public class NoticeBLL
    {
        public int Insert(NoticeInfo notice)
        {
            return NoticeDAL.Insert(notice);
        }

        public int Update(NoticeInfo notice)
        {
            return NoticeDAL.Update(notice);
        }

        public int Delete(int code)
        {
            return NoticeDAL.Delete(code);
        }

        public int Active(int code)
        {
            return NoticeDAL.Active(code);
        }

        public NoticeInfo Get(int code)
        {
            return NoticeDAL.Get(code);
        }

        public IList<NoticeInfo> GetList()
        {
            return NoticeDAL.GetList();
        }
    }
}
